package com.song.book.book.service;

import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;

import javax.annotation.Resource;

@Component
public class BookSerivceImpl implements BookSerivce {
//    @Resource
//    private RestTemplate restTemplate;//

    @Override
    public String testUser(){
        return "sorry，对不起，服务器暂时不能访问！";
    }

//    public String isHsy(){
//        return "sorry，对不起，服务器暂时不能访问！";
//    }


}
